//Handler called after a measurement was created ImajnetPlugin.onMeasurementCreated = function(customData) { //Here you can use the measurement data console.log(customData) } //Handler called after a pinpoint was created ImajnetPlugin.onPinPointCreated = function(customData) { //Here you can use the pinpoint data console.log(customData) }